package com.yeyks.common.param;

import com.yeyks.common.annotation.StrNotEmpty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author fuchangshuai
 * @date 2019/07/24 14:18
 */
@Data
public class MattressPackageConfigInsertParam implements Serializable {
    private static final long serialVersionUID = -1003036533456207022L;

    @ApiModelProperty(value = "套餐名称")
    @StrNotEmpty(message = "套餐名称不能为空")
    private String packageName;

    @ApiModelProperty(value = "套餐内容")
    @StrNotEmpty(message = "套餐内容不能为空")
    private String packageContent;

    @ApiModelProperty(value = "时长(秒)")
    @NotNull(message = "时长不能为空")
    private Integer timeLong;

    @ApiModelProperty(value = "价格(分)")
    @NotNull(message = "价格不能为空")
    private Integer salePrice;

    @ApiModelProperty(value = "状态默认0，0 不可用，1 可用")
    private Integer status = 0;
}
